<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>
<script language="JavaScript" type="text/javascript">
function page_load(){
	dialog_size(521);
	dialog_obj.find("form:first textarea:last").focus();
}
</script>
<?=form_open_multipart("$title/put/-1/$id")?>
<div class="dialog-title">
<h2><?=$caption?></h2>
<span><a href="javascript:close_dialog();">关闭 [X]</a></span>
</div>
<?=validation_errors('<div class="warning">','</div>')?>
<div class="form">
<ul class="halfside">
	<li>姓名：<?=$rs->username?></li>
	<li>电话：<?=$rs->tel?></li>
	<li>传真：<?=$rs->fax?></li>
	<li>邮箱：<?=$rs->email?></li>
</ul>
<p>地址：<?=$rs->addr?></p>
<p>详细内容：<br /><?=nl2br(strip_tags($rs->content))?></p>
<p>处理意见：
	<label><?=form_edit_radio('solve','0',$rs)?>没有处理</label>&nbsp;
	<label><?=form_edit_radio('solve','1',$rs)?>已处理</label>
	<br />
	<?=form_textarea('answer',set_edit_value('answer',$rs))?>
</p>
</div>
<div class="dialog-bottom">
	<div class="dbleft">
		<a href="javascript:close_dialog();" class="button"><span>&nbsp; 取消 &nbsp;</span></a>
	</div>
	<div class="dbright">
		<span class="submit"><input type="submit" value="保存意见" /></span>
	</div>
	<div class="clear"></div>
</div>
<?=form_close()?>